home *** CD-ROM | disk | FTP | other *** search
/ World of Education / World of Education.iso / world_p / pclearn.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-05-24  |  11KB  |  296 lines

  1. ECHO OFF
  2. CLS
  3. ECHO                 PC-LEARN Installation program 
  4. ECHO   ---------------------------------------------------------------
  5. ECHO   PC-LEARN must first be installed prior to running the program.
  6. ECHO   Installation will take only one or two minutes . . .
  7. echo   Installation diskette should now be in the A: floppy drive.
  8. echo   Installation does NOT adjust CONFIG.SYS or AUTOEXEC.BAT.
  9. ECHO   ---------------------------------------------------------------
  10. ECHO   For maximum speed and full color menu system, install to 
  11. echo   a hard drive system! If you install to standard 360K floppies
  12. echo   you will need TWO FORMATTED FLOPPIES PRIOR TO PROCEEDING. The
  13. echo   high speed color menu system will not be available to those 
  14. echo   installing to standard low density 360K floppies . . .
  15. echo   ---------------------------------------------------------------
  16. ECHO   Press  A  if installing to ONE HIGH DENSITY FLOPPY (720K, 1.44M, 1.2M)
  17. ECHO   Press  B  if installing to HARD DRIVE (preferred option)
  18. echo   Press  C  if installing to TWO standard LOW DENSITY 360k floppies 
  19. ECHO   Press  Q  to quit or abort process
  20. ECHO   ---------------------------------------------------------------
  21. inkey ,Q81,q81,C67,c67,B66,b66,A65,a65/E
  22. IF ERRORLEVEL 81 GOTO abort
  23. IF ERRORLEVEL 67 GOTO LABELC
  24. IF ERRORLEVEL 66 GOTO LABELB
  25. IF ERRORLEVEL 65 GOTO LABELA
  26. :labelc
  27. CLS
  28. echo ------------------------------------------------------------
  29. ECHO Installation will produce TWO floppy diskettes on TARGET
  30. echo drive B: Next step assumes SOURCE drive A: contains files 
  31. echo to be unpacked and TARGET drive B: contains a blank formatted 
  32. echo diskette of standard 360K size. Have a second diskette ready.
  33. echo ------------------------------------------------------------
  34. pause
  35. cls
  36. lharc x a:pcl.lzh b:\ readme bonus.tut intro.tut history.tut dos1.tut
  37. lharc x a:pcl.lzh b:\ dos2.tut batch.tut usergrp.tut virus.tut tips.tut
  38. lharc x a:pcl.lzh b:\ go1.bat view.com inkey.com newpc.tut support.tut
  39. b:
  40. ren go1.bat go.bat
  41. a:
  42. CLS
  43. echo --------------------------------------------------------------
  44. ECHO Remove diskette from B: drive, label it:
  45. echo "PC-LEARN PART ONE, start with:   GO     at DOS prompt"
  46. echo When you have finished labelling the first diskette,
  47. ECHO insert second formatted blank floppy diskette into
  48. echo drive B: and press a key to proceed installing part two.
  49. echo --------------------------------------------------------------
  50. pause
  51. cls
  52. lharc x a:pcl.lzh b:\ modem.tut glossry.tut bibliog.tut software.tut
  53. lharc x a:pcl.lzh b:\ wordproc.tut spread.tut database.tut share.tut
  54. lharc x a:pcl.lzh b:\ equipmnt.tut displstd.tut hardrive.tut author.tut
  55. lharc x a:pcl.lzh b:\ go2.bat view.com inkey.com
  56. b:
  57. ren go2.bat go.bat
  58. a:
  59. CLS
  60. echo --------------------------------------------------------------
  61. ECHO Remove diskette from B: drive, label it:
  62. echo "PC-LEARN PART TWO, start with:   GO     at DOS prompt"
  63. echo When you have finished labelling the second diskette,
  64. echo press a key to end installation process and return to DOS.
  65. echo --------------------------------------------------------------
  66. pause
  67. goto quit
  68. :LABELB
  69. CLS
  70. REM                      Hard Drive setup
  71. ECHO ---------------------------------------------------------------
  72. ECHO Hard drive installation will prepare a directory named \PCL on 
  73. echo your hard drive and install files to that area. Installation 
  74. echo program assumes drive A: contains PC-LEARN and is the SOURCE 
  75. echo DRIVE. Hard drive will be the TARGET drive to which files will 
  76. echo be unpacked. If you have an old copy of PC-LEARN on your hard 
  77. echo drive which is important to you, you may wish to quit/abort
  78. echo and backup that older copy for archival purposes first.
  79. ECHO ---------------------------------------------------------------
  80. echo What hard drive letter will you install TO as your target?
  81. ECHO ---------------------------------------------------------------
  82. echo press  C  for  Hard drive C:
  83. echo press  D  for  Hard drive D:
  84. echo press  E  for  Hard drive E:
  85. echo press  F  for  Hard drive F:
  86. echo press  G  for  Hard drive G:
  87. echo press  Q  to quit
  88. inkey ,Q81,q81,G71,g71,F70,f70,E69,e69,D68,d68,C67,c67/E
  89. IF ERRORLEVEL 81 GOTO abort
  90. IF ERRORLEVEL 71 goto hdg
  91. IF ERRORLEVEL 70 GOTO hdf
  92. IF ERRORLEVEL 69 GOTO hde
  93. IF ERRORLEVEL 68 GOTO hdd
  94. IF ERRORLEVEL 67 GOTO hdc
  95. :hdc
  96. cls
  97. C:
  98. CD\
  99. MD PCL
  100. ECHO If a previous version of the PC-LEARN package is already
  101. ECHO installed, answer yes to all prompts to overwrite old files 
  102. ECHO with the newer data files.
  103. A:
  104. lharc x a:PCL.lzh C:\PCL\
  105. del c:\pcl\go1.bat
  106. del c:\pcl\go2.bat
  107. del c:\pcl\view.com
  108. del c:\pcl\inkey.com
  109. CLS
  110. ECHO Installation is now complete. 
  111. echo ------------------------------------------------------------
  112. echo Press  Q  to quit. To run PC-LEARN change to your hard 
  113. echo drive subdirectory C:\PCL then   PCL    to start!
  114. echo To do this, issue the following commands when you see
  115. echo the DOS prompt:   
  116. echo      C:        Then press return/enter key
  117. echo      CD\PCL    Then press return/enter key                         
  118. echo      PCL       Then press return/enter key                        
  119. echo  Jot down these instructions for future use!
  120. echo ----------------------------------------------------------
  121. inkey ,Q81,q81/E
  122. IF ERRORLEVEL 81 GOTO abort
  123. GOTO QUIT
  124. :hdd
  125. cls
  126. D:
  127. CD\
  128. MD PCL
  129. ECHO If a previous version of the PC-LEARN package is already
  130. ECHO installed, answer yes to all prompts to overwrite old files 
  131. ECHO with the newer data files.
  132. A:
  133. lharc x a:PCL.lzh D:\PCL\
  134. del d:\pcl\go1.bat
  135. del d:\pcl\go2.bat
  136. del d:\pcl\view.com
  137. del d:\pcl\inkey.com
  138. CLS
  139. ECHO Installation is now complete. 
  140. echo ------------------------------------------------------------
  141. echo Press  Q  to quit. To run PC-LEARN change to your hard 
  142. echo drive subdirectory D:\PCL then   PCL    to start!
  143. echo To do this, issue the following commands when you see
  144. echo the DOS prompt:   
  145. echo      D:        Then press return/enter key   
  146. echo      CD\PCL    Then press return/enter key   
  147. echo      PCL       Then press return/enter key   
  148. echo  Jot down these instructions for future use!
  149. echo ----------------------------------------------------------
  150. inkey ,Q81,q81/E
  151. IF ERRORLEVEL 81 GOTO abort
  152. GOTO QUIT
  153. :hde
  154. cls
  155. E:
  156. CD\
  157. MD PCL
  158. ECHO If a previous version of the PC-LEARN package is already
  159. ECHO installed, answer yes to all prompts to overwrite old files 
  160. ECHO with the newer data files.
  161. A:
  162. lharc x a:PCL.lzh E:\PCL\
  163. del e:\pcl\go1.bat
  164. del e:\pcl\go2.bat
  165. del e:\pcl\view.com
  166. del e:\pcl\inkey.com
  167. CLS
  168. ECHO Installation is now complete. 
  169. echo ------------------------------------------------------------
  170. echo Press  Q  to quit. To run PC-LEARN change to your hard 
  171. echo drive subdirectory E:\PCL then   PCL    to start!
  172. echo To do this, issue the following commands when you see
  173. echo the DOS prompt:   
  174. echo      E:        Then press return/enter key   
  175. echo      CD\PCL    Then press return/enter key   
  176. echo      PCL       Then press return/enter key   
  177. echo  Jot down these instructions for future use!
  178. echo ----------------------------------------------------------
  179. inkey ,Q81,q81/E
  180. IF ERRORLEVEL 81 GOTO abort
  181. GOTO QUIT
  182. :hdf
  183. cls
  184. F:
  185. CD\
  186. MD PCL
  187. ECHO If a previous version of the PC-LEARN package is already
  188. ECHO installed, answer yes to all prompts to overwrite old files 
  189. ECHO with the newer data files.
  190. A:
  191. lharc x a:PCL.lzh F:\PCL\
  192. del f:\pcl\go1.bat
  193. del f:\pcl\go2.bat
  194. del f:\pcl\view.com
  195. del f:\pcl\inkey.com
  196. CLS
  197. ECHO Installation is now complete. 
  198. echo ------------------------------------------------------------
  199. echo Press  Q  to quit. To run PC-LEARN change to your hard 
  200. echo drive subdirectory F:\PCL then   PCL    to start!
  201. echo To do this, issue the following commands when you see
  202. echo the DOS prompt:   
  203. echo      F:        Then press return/enter key   
  204. echo      CD\PCL    Then press return/enter key   
  205. echo      PCL       Then press return/enter key   
  206. echo  Jot down these instructions for future use!
  207. echo ----------------------------------------------------------
  208. inkey ,Q81,q81/E
  209. IF ERRORLEVEL 81 GOTO abort
  210. GOTO QUIT
  211. :hdg
  212. cls
  213. G:
  214. CD\
  215. MD PCL
  216. ECHO If a previous version of the PC-LEARN package is already
  217. ECHO installed, answer yes to all prompts to overwrite old files 
  218. ECHO with the newer data files.
  219. A:
  220. lharc x a:PCL.lzh G:\PCL\
  221. del g:\pcl\go1.bat
  222. del g:\pcl\go2.bat
  223. del g:\pcl\view.com
  224. del g:\pcl\inkey.com
  225. CLS
  226. ECHO Installation is now complete. 
  227. echo ------------------------------------------------------------
  228. echo Press  Q  to quit. To run PC-LEARN change to your hard 
  229. echo drive subdirectory G:\PCL then   PCL    to start!
  230. echo To do this, issue the following commands when you see
  231. echo the DOS prompt:   
  232. echo      G:        Then press return/enter key   
  233. echo      CD\PCL    Then press return/enter key   
  234. echo      PCL       Then press return/enter key   
  235. echo  Jot down these instructions for future use!
  236. echo ----------------------------------------------------------
  237. inkey ,Q81,q81/E
  238. IF ERRORLEVEL 81 GOTO abort
  239. GOTO QUIT
  240. :LABELA
  241. CLS
  242. echo ------------------------------------------------------------
  243. ECHO Installation will produce one floppy diskette on TARGET
  244. echo drive B: or TARGET drive D: which MUST be one of following the 
  245. echo size(s): 720K, 1.44M, 1.2M. Next step assumes SOURCE drive A: 
  246. echo contains files to be unpacked and TARGET drive B: or D: 
  247. echo contains a blank formatted diskette LARGER than 360K.
  248. echo ------------------------------------------------------------
  249. echo press  B  for  Floppy drive B:
  250. echo press  D  for  Floppy drive D:
  251. echo press  Q  to quit
  252. echo ------------------------------------------------------------
  253. inkey ,Q81,q81,D68,d68,B66,b66/E
  254. IF ERRORLEVEL 81 GOTO abort
  255. IF ERRORLEVEL 68 GOTO fd
  256. IF ERRORLEVEL 66 GOTO fb
  257. :fb
  258. cls
  259. lharc x a:pcl.lzh b:\ *.*
  260. del b:go1.bat
  261. del b:go2.bat
  262. del b:view.com
  263. del b:inkey.com
  264. CLS
  265. echo --------------------------------------------------------------
  266. ECHO Remove diskette from B: drive, label it:
  267. echo "PC-LEARN, start with:   PCL     at DOS prompt"
  268. echo --------------------------------------------------------------
  269. pause
  270. goto quit
  271. :fd
  272. cls
  273. lharc x a:pcl.lzh d:\ *.*
  274. del d:go1.bat
  275. del d:go2.bat
  276. del d:view.com
  277. del d:inkey.com
  278. CLS
  279. echo --------------------------------------------------------------
  280. ECHO Remove diskette from D: drive, label it:
  281. echo "PC-LEARN, start with:   PCL     at DOS prompt"
  282. echo --------------------------------------------------------------
  283. pause
  284. goto quit
  285. :QUIT
  286. CLS
  287. ECHO            Installation of program now complete.
  288. ECHO   Be sure to register or subscribe - support the shareware concept.
  289. ECHO   Two bonus disks will be sent by mail to those registering!
  290. GOTO END
  291. :ABORT
  292. cls
  293. ECHO  Installation process aborted
  294. :END
  295.  
  296.